import request from '@/utils/requestUtil'

// 获取商品信息
export function getProductList(data) {
	return request({
		method: 'GET',
		url: '/humanResources/product/list',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		params: data
	})
}

// 提交入库审核
export function submitInbound(data) {
	return request({
		method: 'POST',
		url: '/humanResources/inbound',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		data: data
	})
}

// 提交出库审核
export function submitOutbound(data) {
	return request({
		method: 'POST',
		url: '/humanResources/outbound',
		header: {
			'content-type': 'application/json;charset=utf-8'
		},
		data: data
	})
}